package me.eleme.anubis.openapi.api.entity.order;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * 订单详情响应结果
 * @author 刘志永
 */
@Data
public class GetOrderDetailRes {
    /** 订单id */
    @JSONField(name = "order_id")
    private Long orderId;
    /** 运单id */
    @JSONField(name = "tracking_id")
    private Long trackingId;
    /** 外部订单号 */
    @JSONField(name = "partner_order_code")
    private String partnerOrderCode;
    /** 商家订单流水号 */
    @JSONField(name = "serial_number")
    private String serialNumber;
    /** 订单状态 */
    @JSONField(name = "order_status")
    private Integer orderStatus;
    /** 配送员ID */
    @JSONField(name = "carrier_driver_id")
    private String carrierDriverId;
    /** 配送员姓名 */
    @JSONField(name = "carrier_driver_name")
    private String carrierDriverName;
    /** 配送员电话 */
    @JSONField(name = "carrier_driver_phone")
    private String carrierDriverPhone;
    /** 预计送达时间(毫秒) */
    @JSONField(name = "estimate_arrive_time")
    private Long estimateArriveTime;
    /** 时效赔付 */
    @JSONField(name = "overtime_compensation_cost_cent")
    private Long overtimeCompensationCostCent;
    /** 是否支持添加调度费 1可以，0不可以 */
    @JSONField(name = "if_can_add_tip")
    private Integer ifCanAddTip;
    /** 订单当前小费总金额 分 */
    @JSONField(name = "order_tip_amount_cent")
    private Long orderTipAmountCent;
    /** 骑手取货照片地址 */
    @JSONField(name = "delivery_fetch_photos")
    private List<String> deliveryFetchPhotos;
    /** 原始配送费金额(优惠前的纯配送费，不含小费等) 该字段无需关注 */
    @JSONField(name = "order_total_amount_cent")
    private Long orderTotalAmountCent;
    /** 订单实际配送支付总金额(优惠后 含小费等 一般关注这个字段即可) */
    @JSONField(name = "order_actual_amount_cent")
    private Long orderActualAmountCent;
    /** 配送费价格明细 */
    @JSONField(name = "price_detail")
    private PriceOpenapiDetail priceDetail;
    /** 运单异常原因code */
    @JSONField(name = "abnormal_code")
    private String abnormalCode;
    /** 运单异常原因描述 */
    @JSONField(name = "abnormal_desc")
    private String abnormalDesc;
    /** 运单事件节点信息 */
    @JSONField(name = "event_log_details")
    private List eventLogDetails;
    /** 投诉编号 */
    @JSONField(name = "complaint_id")
    private Long complaintId;
    /** 投诉原因描述 */
    @JSONField(name = "complaint_reason_desc")
    private String complaintReasonDesc;
    /** 投诉状态 1待处理，2成功，3失败 */
    @JSONField(name = "complaint_status")
    private Integer complaintStatus;
    /** 索赔id */
    @JSONField(name = "claim_id")
    private Long claimId;
    /** 索赔原因描述 */
    @JSONField(name = "claim_reason_desc")
    private String claimReasonDesc;
    /** 索赔状态 1待处理，2成功，3失败 */
    @JSONField(name = "claimStatus")
    private Integer claimStatus;
    /** 骑手体温 */
    @JSONField(name = "temperature")
    private String temperature;
}
